#!/usr/bin/env python
# encoding: utf-8

from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *

from ui.pwdInput import Ui_Dialog

class PwdInput(QDialog, Ui_Dialog ):
    def __init__(self,parent=None):
        super(QDialog, self).__init__(parent)
        self.setupUi(self)

    def accept(self):
        self.pwd = self.lineEdit.text()
        QDialog.accept(self)

    def reject(self):
        QDialog.reject(self)
